//int NDSEmulation;

//NDS_header * header;
//volatile bool execute = false;

//#define NUM_FRAMES_TO_TIME 60
//#define FPS_LIMITER_FRAME_PERIOD 8

//u8 *GPU_vram[512*192*4];
//u8 *GPU_mergeA[256*192*4];
//u8 *GPU_mergeB[256*192*4];

//SoundInterface_struct *SNDCoreList[] = {
//	&SNDDummy,
//	&SNDFile,
//	&SNDSDL,
//	NULL
//};

//GPU3DInterface *core3DList[] = {
//	&gpu3DNull
//};

//void NDSExec();
//static void NDSDraw(void);

//----------------------------------------------------------------------------
// NDSSUPPORT - DSExec
//----------------------------------------------------------------------------
//void NDSExec(){
	// Update pointer position and click
//	if(WPAD_ButtonsDown(WPAD_CHAN_0)&WPAD_BUTTON_A){
//		NDS_setTouchPos(ir.x, ir.y);
//	}else{
//	NDS_releaseTouch();
//	}
	// Open MENU_GAME when HOME button is pressed
//	if(WPAD_ButtonsDown(WPAD_CHAN_0)&WPAD_BUTTON_HOME) ConfigRequested = 1;
	// Execute ROM
//	NDS_exec(false);
	// Draw emulation to screen
//	NDSDraw();
//}

//----------------------------------------------------------------------------
// NDSSUPPORT - NDSDraw
//----------------------------------------------------------------------------
//static void NDSDraw(void) {

//	PspImage *image;

//	u16 *src = (u16*)GPU_screen;
//	u16 *dstA = (u16*)GPU_mergeA;
//	u16 *dstB = (u16*)GPU_mergeB;
//	u16 *dst = (u16*)GPU_vram;

//	for(int i=0; i < 256*192; i++){ 
//		dstA[i] = src[i];           // MainScreen
//		dstB[i] = src[(256*192)+i]; // TouchScreen
//	}

//	GuImageDirect(dstA,dstB,0,0,256,192, 0,40, 256, 192);
//}

